<div class="box-body">

    <table class="table table-striped">
        <tbody>
        <tr>
            <th style="width: 10px">#</th>
            <th style="width: 160px">校方管理员名称</th>
            <th style="width: 160px;">校方管理员账号</th>
            <!--<th style="width: 160px">社团管理员</th>-->
            <th style="width: 160px">操作</th>
        </tr>

        <tr ng-repeat="i in list">
            <td>{{$index + 1}}</td>
            <td ><a>{{i.realName}}</a></td>
            <td>
                {{i.username}}
            </td>
            <td>
                <i class="fa fa-fw fa-close" ng-click="delete(i.uid)"></i>
            </td>
            <!--<td>-->
                <!--{{l.createTime | date:'medium'}}-->
            <!--</td>-->
        </tr>
        </tbody>
    </table>

    <!--<div class="pager">-->
        <!--<my-pagination page-count="pageCount" current-page="currentPage" on-page-change="onPageChange()" first-text="首页" next-text="下一页" prev-text="上一页" last-text="尾页" show-goto="true" goto-text="跳转到"></my-pagination>-->
    <!--</div>-->

</div>

<div class="box-footer">
    <button class="btn btn-primary" ui-sref="index.management.addSchoolManager">添加校方管理</button>
</div>

<!-- 删除弹出框 -->
<div class="modal fade" id="sure" aria-labelledby="myModalLabel" aria-hidden="true" style="overflow-x: hidden; overflow-y: auto;">
    <div class="modal-dialog ">
        <div class="panel panel-default">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h3>确定</h3>
            </div>
            <div class="modal-body">
                <p>确认删除？删除后数据将无法恢复。</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" ng-click="submits('delete');">是</button>
                <button type="button" class="btn btn-primary" ng-click="submits('cancel');">否</button>
            </div>
        </div>
    </div>
</div>
